package com.order.enums;

public enum OrderReviewStatus {
    // 状态 0:待审核 1:已发布 2:已删除 3:违规下架
    WAIT_REVIEW((byte) 0, "待审核"),
    REVIEWED((byte) 1, "已发布"),
    DELETED((byte) 2, "已删除"),
    REVIEW_REJECTED((byte) 3, "违规下架");
    private byte code;
    private String message;
    OrderReviewStatus(byte code, String message) {
        this.code = code;
        this.message = message;
    }
    public byte getCode() {
        return code;
    }
}
